package com.pet.shop.mappers.product;

import com.pet.shop.entity.product.ProductProperty;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

public interface ProductPropertyMapper {

    int delete(Long id);

    int insert(ProductProperty record);

    ProductProperty get(Long id);

    int update(ProductProperty record);

    List<ProductProperty> queryByProductId(Long productId);

    Set<Long> queryIdByProductId(Long productId);

    List<ProductProperty> queryByProductIdList(@Param("productIds") List<Long> productIds);
}